//
//  BCHttpRequestAPIInterface.h
//  GSBlockChain
//
//  Created by guoshikeji_a on 2018/11/30.
//  Copyright © 2018 guoshikeji. All rights reserved.
//

#ifndef BCHttpRequestAPIInterface_h
#define BCHttpRequestAPIInterface_h

//用户层服务器
#define UserHost @"https://user.f3.app"
//应用层服务器
#define MainHost @"https://api.f3.app"
//#define MainHost @"https://black.dakawang.org.cn"

//获取阿里云OSS相关配置
#define V1_Config_Oss_Token @"v1/config/oss_token"

//上传图片
#define V1_Upload @"v1/upload"

//获取系统版本
#define V1_Config_Version @"v1/config/version"
//获取首页和启动页广告
#define V1_Ads @"v1/ads"

//验证邀请码
#define V1_Share_Check @"v1/share/check"
//设置用户推荐码
#define V1_User_Share @"v1/user/share"
//获取首页信息
#define V1_Flow_Index @"v1/flow/index"

//获取产业页面情况
#define V1_Flow_Industry @"v1/flow/industry"

//获取全部产业
#define V1_Flow_Industry_All @"v1/flow/industry_all"

//获取意见反馈/客户服务
#define V1_Flow_Customer(service) [NSString stringWithFormat:@"v1/flow/customer/%@",(service)]

//获取产业详情
#define V1_Flow_Info_(projectId) [NSString stringWithFormat:@"v1/flow/info/%@",(projectId)]
//获取预购产业的详情
#define V1_Flow_Info_Ordering_(projectId) [NSString stringWithFormat:@"v1/flow/info_ordering/%@",(projectId)]

#pragma mark - User
//获取用户中心数据
#define V1_Flow_User @"v1/flow/user"
//获取我的钱包
#define V1_Flow_Wallet @"v1/flow/wallet"
//获取我的钱包明细
#define V1_Flow_Wallet_Details(status) [NSString stringWithFormat:@"v1/flow/wallet/details/%@",(status)]
//获取提币信息
#define V1_Flow_Wallet_Cash @"v1/flow/wallet/cash"
//获取充币信息
#define V1_Flow_Wallet_Charge @"v1/flow/wallet/charge"
//提币
#define V1_Operation_Money @"v1/operation/money"

//获取币种列表
#define V1_Flow_Wallet_Curr @"v1/flow/wallet/curr"
//获取我购买的产业
#define V1_Flow_Wallet_Industry @"v1/flow/wallet/industry"

//获取安全中心数据
#define V1_Flow_Wallet_Safety @"v1/flow/wallet/safety"

//获取分享信息
#define V1_Operation_Share @"v1/operation/share"

//获取SVIP信息
#define V1_Svips @"v1/svips"
//购买SVIP
#define V1_Operation_Svip @"v1/operation/svip"

//指纹或面容登录
#define V1_Fingerprint @"v1/fingerprint"
//设置指纹或面容登录
#define V1_User_Fingerprint @"v1/user/fingerprint"

//获取手机验证界面数据
#define V1_Flow_Wallet_Phone @"v1/flow/wallet/phone"
//获取邮箱验证界面数据
#define V1_Flow_Wallet_Email @"v1/flow/wallet/email"
//获取字符密码界面数据
#define V1_Flow_Wallet_Pass @"v1/flow/wallet/pass"
//获取图片验证码
#define V1_Captcha_(uuid) [NSString stringWithFormat:@"%@/v1/captcha/%@",MainHost,(uuid)]
//手机验证发送验证码
#define V1_Operation_Send_Code @"v1/operation/send_code"
//邮箱验证发送验证码
#define V1_Operation_Send_Email_Code @"v1/operation/send_email_code"
//设置安全手机
#define V1_User_Phone @"v1/user/phone"
//设置安全邮箱
#define V1_User_Email @"v1/user/email"
//设置支付密码
#define V1_User_Pay_Pass @"v1/user/pay_pass"

//用户购买项目
#define V1_Operation_Buy @"v1/operation/buy"

//退出登录
#define V1_User_Logout @"v1/user/logout"


//判断用户提现地址是否正确
#define V1_Validate_Address @"v1/validateaddress"


#pragma mark - Others
//币种转换界面
#define V1_Exchange @"v1/exchange"
//兑换界面
#define V1_Flow_Wallet_Exchange @"v1/flow/wallet/exchange"
//兑换操作
#define V1_Operation_Exchange @"v1/operation/exchange"



#pragma mark - 各种协议和什么使用条款等的静态链接 注册
//F3.APP协议
#define APP_Protocol [NSString stringWithFormat:@"%@/v1/page/user/agreement",MainHost]
//使用条款
#define APP_User_Item [NSString stringWithFormat:@"%@/v1/page/terms",MainHost]

#endif /* BCHttpRequestAPIInterface_h */
